class API {
  /***************** 登录 ****************/

  /// 短信验证码登录
  static const String loginBySmsCode = '/api/passport/sms_login';

  /// 第三方登录
  static const String loginBythird = '/api/passport/third';

  /// 账号密码登录
  static const String loginByPassWord = '/api/passport/login';

  /// 获取短信验证码
  static const String getSmsCode = '/api/passport/send_code';

  /// 注册账号
  static const String registerAccount = '/api/passport/register';

  /// 重置密码
  static const String resetPassword = '/api/passport/resetpwd';

  /// 生成随机昵称
  static const String randomNickName = '/api/user/random_nickname';

  /// 修改密码,不需要验证码
  static const String changePassword = '/api/passport/update_password';

  /***************** 用户 ****************/

  /// 更新用户资料
  static const String updateUserInfo = '/api/user/profile';

  /// 个人主页
  static const String myInfo = '/api/user/home';

  /// 会员中心
  static const String getMemberData = '/api/user/member';

  /// 主播认证状态
  static const String applyStatus = '/api/anchor/get_apply_status';

  /// 主播认证
  static const String addApply = '/api/anchor/add_apply';

  /// 资金信息
  static const String wallInfoData = '/api/wallet/index';

  /// 支付宝账号页面
  static const String wallAlipay = '/api/wallet/alipay';

  /// 绑定支付宝
  static const String wallAliBind = '/api/wallet/bind_alipay';

  /// 获取举报分类
  static const String reportCateList = '/api/user/report_cate';

  /// 提交举报
  static const String submitReport = '/api/user/report';

  /// 设置视频通话等级价格
  static const String setLevelPrice = '/api/anchor/set_price';

  /***************** 首页 ****************/

  /// 热门用户列表
  static const String homeHotUserList = '/api/index/hot_anchors';

  /// 推荐用户列表
  static const String homeRecommendUserList = '/api/index/recommend_anchors';

  /// 活跃用户列表
  static const String homeAliveUserList = '/api/index/active_anchors';

  /// 新人用户列表
  static const String homeNewUserList = '/api/index/new_anchors';

  /// 用户主页
  static const String userHomeData = '/api/user/info';

  /// 关注/取消关注
  static const String followUser = '/api/user/follow';

  /// 收到的礼物列表
  static const String userGiftList = '/api/user/gift_list';

  /// 设定隐藏状态
  static const String setHideStatus = '/api/user/set_hide_status';

  /// 首页搜索
  static const String homeSearch = '/api/index/search';

  /***************** 系统 ****************/

  /// 获取服务器配置
  static const String getServerConfig = '/api/system/index';

  /// 获取app配置
  static const String getAppConfig = '/api/app/config';

  /// 获取app上传配置
  static const String getUploadConfig = '/api/upload/get_token';

  /// 上传
  static const String upload = '/api/upload/images';

  /// 检查版本更新
  static const String checkUpdateVersion = '/api/app/system';

  /// 礼物列表
  static const String configGiftList = '/api/app/gifts';

  /***************** 我的 ****************/

  /// 视频通话等级价格列表
  static const String levelPriceList = '/api/anchor/level_price';

  /// 获取资金信息
  static const String getWallIndex = '/api/wallet/index';

  /// 获取充值列表
  static const String getWallInfo = '/api/wallet/goods_list';

  /// 支付recharge
  static const String walletRecharge = '/api/wallet/recharge';

  /// 收益
  static const String walletWithdraw = '/api/wallet/withdraw';

  /// 账单明细 0-所有 1-提现
  static const String billingList = '/api/wallet/record_v2';

  /// 用户申请提现
  static const String withDrawApply = '/api/wallet/user_withdraw';

  /// 亲密好友列表
  static const String getFriendshipList = '/api/friendship/lists';

  /// 邀请规则
  static const String inviteRules = '/api/user/invite';

  /// 邀请列表
  static const String inviteList = '/api/user/invite_list';

  /// 关注列表
  static const String followList = '/api/user/follow_list';

  /// 粉丝列表
  static const String fansList = '/api/user/fans_list';

  /// 访客列表
  static const String visitorList = '/api/user/visitor_list';

  /// 通话记录列表
  static const String callList = '/api/user/call_list';

  /// 获取打招呼文本列表
  static const String getSayHelloText = '/api/chat/msglist';

  /// 赠送礼物 1个人详情页 2IM页面  3视频中 4收到礼物页面赠送
  static const String sendGift = '/api/chat/send_gift';

  /// 守护
  static const String addGuard = '/api/guard/add_guard';

  /// 删除打招呼文本
  static const String deleteSayHelloText = '/api/chat/del_msg';

  /// 添加打招呼文本
  static const String addSayHelloText = '/api/chat/apply_msg';

  /// 获取打招呼图片列表
  static const String getSayHelloImg = '/api/chat/hi_img_list';

  /// 获取打招呼语音列表
  static const String getSayHelloVoice = '/api/chat/hi_voice_list';

  /// 删除打招呼语音
  static const String deleteHelloVoice = '/api/chat/hi_voice_del';

  /// 黑名单
  static const String blackList = '/api/user/black_list';

  /// 拉黑 && 取消拉黑
  static const String blackOperation = '/api/user/black';

  /***************** 青少年模式 ****************/

  /// 设置青少年模式密码
  static const String setAdolescent = '/api/user/set_adolescent';

  /// 关闭青少年模式 开关: 0-关闭 1-开启
  static const String closeAdolescent = '/api/user/switch_adolescent';

  /***************** 榜单 ****************/

  /// 颜值榜 && 热榜
  static const String getRankLove = '/api/rank/love';

  /// 土豪榜
  static const String getRankWealth = '/api/rank/wealth';

  /// 礼物榜
  static const String getRankGifts = '/api/rank/gift';

  /// 守护榜
  static const String getRankGuard = '/api/rank/guard';

  /***************** 动态 ****************/

  /// 动态列表
  static const String getDynamicList = '/api/dynamic/lists';

  /// 动态点赞: 0-点赞  1-取消点赞
  static const String dynamicLike = '/api/dynamic/like';

  /// 检测发布动态权限
  static const String checkDynamicPermission = '/api/dynamic/check_permission';

  /// 发布动态1
  static const String sendDynamicSetup1 = '/api/dynamic/publish';

  /// 发布动态2
  static const String sendDynamicSetup2 = '/api/dynamic/publish_image';

  /***************** IM ****************/

  /// 发送IM消息过滤
  static const String sendIM = '/api/chat/send_im';

  /// 发送打招呼图片消息
  static const String sendGreetImage = '/api/chat/hi_img_send';

  /// 发送打招呼语音消息
  static const String sendGreeVoice = '/api/chat/hi_voice_send';

  /// 收到视频通话获取房间信息
  static const String checkVideo = '/api/chat/get_room';

  /// 视频通话,获取房间号
  static const String videoCall = '/api/chat/call';
}
